package com.njworkorder.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class RectificationNoticeVo {

    private String id;

    @Schema(description = "作业管理id（任务id）")
    private String jobManagementId;

    @Schema(description = "创建人id")
    private String founderApId;
    @Schema(description = "创建人名称")
    private String founderName;

    @Schema(description = "实施单位id")
    private String unitAoId;
    @Schema(description = "实施单位名称")
    private String unitName;

    @Schema(description = "整改开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rectificationStart;

    @Schema(description = "整改结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rectificationEnd;

    @Schema(description = "收件人id")
    private String recipientApId;
    @Schema(description = "收件人名称")
    private String recipientName;

    @Schema(description = "负责人id")
    private String directorApId;
    @Schema(description = "负责人名称")
    private String directorName;

    @Schema(description = "整改内容")
    private String rectificationContent;

    @Schema(description = "附件地址")
    private String annexPath;

    @Schema(description = "数据状态", example = "2为正常状态,6为冻结状态,8为失效状态")
    private String status;
}
